home *** CD-ROM | disk | FTP | other *** search
/ Amiga Games: Unofficial Addons & Patches / Battle Field Creator v1.31 (demo) (1994)(The Software Society)(DE)(de-en)[req. Battle Isle].zip / Battle Field Creator v1.31 (demo) (1994)(The Software Society)(DE)(de-en)[req. Battle Isle].adf / Install_Disk < prev    next >
Text File  |  1993-10-18  |  5KB  |  193 lines

  1. (message
  2.         "Installation des Battle Field Creators.\n"
  3.         "---------------------------------------\n"
  4.         "Für die Installation wird eine formatierte Diskette mit dem"
  5.         " Namen \"BFC_USER:\" benötigt.\n"
  6.         " Liegt eine solche Diskette schon bereit können Sie gleich loslegen."
  7. )
  8.  
  9. (set drive
  10.         (askchoice
  11.                 (prompt "Wieviele Diskettenlaufwerke besitzt ihr Rechner ?")
  12.                 (help "Geben Sie einfach an,ob Sie ein Diskettenlaufwerk oder mehrere besitzen.")
  13.                 (choices "EIN Laufwerk" "mehr als ein Laufwerk")
  14.                 (default 0)
  15.         )
  16. )
  17.  
  18. (set dir "BFC_USER:")
  19.  
  20. (set bi2
  21.         (askoptions
  22.                 (prompt "Welche Diskette besitzen Sie ?")
  23.                 (help @askoptions-help)
  24.                 (choices "Battle Isle (TM)" "Data Disk 1" "Data Disk 2")
  25.                 (default 1)
  26.         )
  27. )
  28.  
  29. (if (= (BITAND bi2 5) 0)
  30.         (abort "Ohne die Battle Isle (TM) Disketten, können Sie den Battle Field Creator nicht nutzen!")
  31. )
  32.  
  33.  
  34. (if (= drive 0)
  35.         ((makedir "RAM:BFC")
  36.         (set dir2 "RAM:BFC"))
  37.         (set dir2 dir)
  38. )
  39.  
  40. (makedir (tackon dir2 "MAPS"))
  41.  
  42. (set Libs bi2)
  43.  
  44. (if (= (BITAND LIBS 1) 1)
  45.         ((makedir (tackon dir2 "LIB0"))
  46.         (makedir (tackon dir2 "Computer"))
  47.         (set z1 ("Assign Computer: \"%s\"\nAssign LIB0: \"%s\"\n" (tackon dir "Computer") (tackon dir "LIB0")))
  48.         )
  49. )
  50.  
  51. (if (= (BITAND Libs 2) 2)
  52.         ((makedir (tackon dir2 "LIB1"))
  53.         (set z2("Assign LIB1: \"%s\"\n" (tackon dir "LIB1")))
  54.         )
  55. )
  56.  
  57. (if (= (BITAND Libs 4) 4)
  58.         ((makedir (tackon dir2 "LIB2"))
  59.         (set z3 ("Assign LIB2: \"%s\"\n" (tackon dir "LIB2")))
  60.         )
  61. )
  62.  
  63. (makedir (tackon dir2 "s"))
  64.  
  65. (textfile
  66.         (dest (tackon dir2 "Battle Field Creator"))
  67.         (append "Assign BFC: BFC_USER:\n")
  68.         (append z1)
  69.         (append z2)
  70.         (append z3)
  71.         (append ("\"%s\"\n" (tackon dir "BFC")))
  72. )
  73.  
  74. (textfile
  75.         (dest (tackon dir2 "s/StartUp-Sequence"))
  76.         (append "Assign ENV: RAM:\n")
  77.         (append "Assign BFC: BFC_USER:\n")
  78.         (append z1)
  79.         (append z2)
  80.         (append z3)
  81.         (append ("\"%s\"\n" (tackon dir "BFC")))
  82. )
  83.  
  84. (makedir (tackon dir2 "Fonts"))
  85. (makedir (tackon dir2 "Fonts/BIC"))
  86.  
  87. (copyfiles
  88.         (prompt "Kopiere Dateien nach %s" dir2)
  89.         (source "BFC:FONTS")
  90.         (dest (tackon dir2 "FONTS"))
  91.         (choices "BIC.font")
  92. )
  93.  
  94. (copyfiles
  95.         (prompt "Kopiere Dateien nach %s" dir2)
  96.         (source "BFC:FONTS/BIC")
  97.         (dest (tackon dir2 "FONTS/BIC"))
  98.         (choices "7" "9")
  99. )
  100.  
  101. (copyfiles
  102.         (prompt "Kopiere Hauptprogramm nach %s" dir2)
  103.         (source "BFC:")
  104.         (dest dir2)
  105.         (choices "BFC")
  106. )
  107.  
  108. (copyfiles
  109.         (source "BFC:DATA")
  110.         (dest dir2)
  111.         (choices "Battle Field Creator.info")
  112. )
  113.  
  114. (makedir (tackon dir2 "c"))
  115. (copyfiles
  116.         (dest (tackon dir2 "c"))
  117.         (source "C:")
  118.         (choices "IconX" "Assign")
  119. )
  120. (makedir (tackon dir2 "libs"))
  121. (copyfiles
  122.         (dest (tackon dir2 "libs"))
  123.         (source "BFC:Libs")
  124.         (choices "diskfont.library")
  125. )
  126.  
  127.  
  128. (if (= drive 0)
  129.         ((message
  130.                 "Bitte wechseln Sie nun die Original BFC-Diskette gegen eine formartierte Diskette mit dem Namen \"BFC_USER:\" aus."
  131.         )
  132.         (copyfiles
  133.                 (source "RAM:BFC")
  134.                 (dest "BFC_USER:")
  135.                 (all)
  136.         )
  137.         (delete "RAM:BFC/BFC")
  138.         (delete "RAM:BFC/Battle Field Creator.info")
  139.         (delete "RAM:BFC/Battle Field Creator")
  140.         (delete "RAM:BFC/c/IconX")
  141.         (delete "RAM:BFC/c/Assign")
  142.         (delete "RAM:BFC/libs/diskfont.library")
  143.         (delete "RAM:BFC/FONTS/BIC/7")
  144.         (delete "RAM:BFC/FONTS/BIC/9")
  145.         (delete "RAM:BFC/FONTS/Bic.font")
  146.         (delete "RAM:BFC/S/StartUp-Sequence")
  147.         )
  148. )
  149.  
  150. (if (= (BITAND LIBS 1) 1)
  151.         ((copyfiles
  152.                 (source "BI2:LIB")
  153.                 (dest (tackon dir2 "LIB0"))
  154.                 (choices "PART.LIB" "PART.TAB" "UNIT.LIB" "UNIT.TAB")
  155.         )
  156.         (copyfiles
  157.                 (source "BI2:MAP")
  158.                 (dest (tackon dir2 "Computer"))
  159.                 (pattern "#?.com")
  160.         ))
  161.  
  162. )
  163.  
  164. (if (= (BITAND Libs 2) 2)
  165.         (copyfiles
  166.                 (source "BI6:LIB")
  167.                 (dest (tackon dir2 "LIB1"))
  168.                 (choices "PART.LIB" "PART.TAB")
  169.         )
  170. )
  171.  
  172. (if (= (BITAND Libs 4) 4)
  173.         (copyfiles
  174.                 (source "DD2:LIB")
  175.                 (dest (tackon dir2 "LIB2"))
  176.                 (choices "PART.LIB" "UNIT.LIB")
  177.         )
  178. )
  179. (if (= drive 0)
  180.         ((message
  181.                 "Bitte legen Sie erneut die \"BFC_USER:\" Diskette ein."
  182.         )
  183.         (copyfiles
  184.                 (source "RAM:BFC")
  185.                 (dest "BFC_USER:")
  186.                 (all)
  187.         )
  188.         )
  189. )
  190.  
  191.  
  192.  
  193.